package com.cookie.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author : cookie ✌️
 * @date : 2018/11/13 13:09
 */
@Data
@TableName("issues")
public class Issues implements Serializable {
    private static final long serialVersionUID = 3104446907294022135L;
    @TableId
    private int id;
    @NotBlank(message="反馈标题不能为空")
    private String title;
    @NotBlank(message="反馈内容不能为空")
    private String content;
    private String deviceInfo;
    private String feedUser;
    private List<String> paths;
    private String path;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
